<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // 逻辑运算符
        // 1.&& 与
        // 2.|| 或
        // 3.! 非
        let a = 10;
        let b = 20;
        let c = 30;
        console.log(a > b && a > c); // false
        console.log(a > b || a > c); // true
        console.log(!a); // false

        console.log(a > b && a > c && a > 100); // false
        console.log(a > b || a > c || a > 100); // true
        console.log(!a && !b && !c); // false
    </script>
</body>
</html>